import netCDF4 as nc

class pynctools(object):
   '''
   pynctools is easier way to interact with netcdf files using python
   
   Author: Vihang Bhatt
   email : bhatt.vihang@gmail.com
   '''
   def __init__(self, data,att_name,att_value, 
                dimensions=None, shape = None, mask=None):
       if mask is None:
          self.data=data
       else:
          print "Maked array need to be generated"
       if dimensions is not None:
          self.dimensions = dimensions
          self.shape      = shape
      
       i=0
       for attribute in att_name:
           setattr(self,attribute,att_value[i])
           i+=1

